package popcorn.ticket.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import popcorn.ticket.entity.Grades;
import popcorn.ticket.entity.GradesExample;
@Repository
public interface GradesMapper {
    long countByExample(GradesExample example);

    int deleteByExample(GradesExample example);

    int deleteByPrimaryKey(Integer gradeid);

    int insert(Grades record);

    int insertSelective(Grades record);

    List<Grades> selectByExample(GradesExample example);

    Grades selectByPrimaryKey(Integer gradeid);

    int updateByExampleSelective(@Param("record") Grades record, @Param("example") GradesExample example);

    int updateByExample(@Param("record") Grades record, @Param("example") GradesExample example);

    int updateByPrimaryKeySelective(Grades record);

    int updateByPrimaryKey(Grades record);
}